﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms; 
using DevComponents.DotNetBar;
using Einstein.Group.DAL;

namespace Einstein.Platform.Window.Config
{
    public partial class Config_SysLog : Office2007Form
    {
        public Config_SysLog()
        {
            InitializeComponent();
            BindLog();
        }

        void BindLog()
        {
            SystemLogDAL dal = new SystemLogDAL();
            dgList.PrimaryGrid.DataSource = dal.SelectAll(); 
        }
    }
}
